package cn.com.tupperware.dao;

import cn.com.tupperware.entity.Categories;
import cn.com.tupperware.entity.CategoriesExample;
import cn.com.tupperware.entity.CategoriesWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CategoriesMapper {
    long countByExample(CategoriesExample example);

    int deleteByExample(CategoriesExample example);

    int deleteByPrimaryKey(Integer categoryid);

    int insert(CategoriesWithBLOBs record);

    int insertSelective(CategoriesWithBLOBs record);

    List<CategoriesWithBLOBs> selectByExampleWithBLOBs(CategoriesExample example);

    List<Categories> selectByExample(CategoriesExample example);

    CategoriesWithBLOBs selectByPrimaryKey(Integer categoryid);

    int updateByExampleSelective(@Param("record") CategoriesWithBLOBs record, @Param("example") CategoriesExample example);

    int updateByExampleWithBLOBs(@Param("record") CategoriesWithBLOBs record, @Param("example") CategoriesExample example);

    int updateByExample(@Param("record") Categories record, @Param("example") CategoriesExample example);

    int updateByPrimaryKeySelective(CategoriesWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(CategoriesWithBLOBs record);

    int updateByPrimaryKey(Categories record);
}